<html><head>
  <title>NEGATED :disabled pseudo-class</title>
  <style type="text/css">button { background-color : red }
input { background-color : red }
button:not(:disabled) { background-color : lime }
input:not(:disabled) { background-color : lime }</style>
  <link rel="author" title="Daniel Glazman" href="http://glazman.org/">
  <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"> <!-- bogus link to make sure it gets found -->
  <meta name="flags" content="">
 </head>
 <body>
<p>
 <!--[ELEMENT('button:not(:disabled)')]--><button><!--[TEXT('button:not(:disabled)')]-->A button (enabled) with green background<!--[/TEXT('button:not(:disabled)')]--></button><!--[/ELEMENT('button:not(:disabled)')]-->
 <br><br>
 <input type="text" size="36" value="a text area (enabled) with green background">
</p>

</body></html>